package com.yict.csms.resourceplan.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.yict.csms.system.entity.DataDict;

/**
 * 
 * @author tortoi.huang
 *
 */

@Entity
@Table(name = "CSMS_MACHINE_TIME")
public class MachineTime {
	
	@Id
	@Column(name = "TIMEID")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "csms_machine_time_seq")
	@SequenceGenerator(name = "csms_machine_time_seq", sequenceName = "SEQ_CSMS_MACHINE_TIME", allocationSize = 1, initialValue = 1)
	private Long  timeid;
	
	@Column(name = "MACHINEDATE")
	@Temporal(TemporalType.DATE)
	private Date machinedate;
	
	@Column(name = "MACHINETIME")
	private String machinetime;
	
	@Column(name = "FINDDATE")
	private Date finddate;
	
	@Column(name = "QC")
	private Long  qc;
	
	@Column(name = "YC")
	private Long  yc;
	
	@Column(name = "FL")
	private Long  fl;
	
	@Column(name = "RTGC")
	private Long  rtgc;
	
	@Column(name = "CAR")
	private Long  car;
	
	@Column(name = "REMARKS")
	private String remarks;

	@Column(name = "CREATEPERSON")
	private Long createperson;

	@Column(name = "CREATEDATE")
	private Date createdate;

	@Column(name = "UPDATEPERSON")
	private Long updateperson;

	@Column(name = "UPDATEDATE")
	private Date updatedate;

	public Long getTimeid() {
		return timeid;
	}

	public void setTimeid(Long timeid) {
		this.timeid = timeid;
	}

	public Date getMachinedate() {
		return machinedate;
	}

	public void setMachinedate(Date machinedate) {
		this.machinedate = machinedate;
	}

	public String getMachinetime() {
		return machinetime;
	}

	public void setMachinetime(String machinetime) {
		this.machinetime = machinetime;
	}

	public Date getFinddate() {
		return finddate;
	}

	public void setFinddate(Date finddate) {
		this.finddate = finddate;
	}

	public Long getQc() {
		return qc;
	}

	public void setQc(Long qc) {
		this.qc = qc;
	}

	public Long getYc() {
		return yc;
	}

	public void setYc(Long yc) {
		this.yc = yc;
	}

	public Long getFl() {
		return fl;
	}

	public void setFl(Long fl) {
		this.fl = fl;
	}

	public Long getRtgc() {
		return rtgc;
	}

	public void setRtgc(Long rtgc) {
		this.rtgc = rtgc;
	}

	public Long getCar() {
		return car;
	}

	public void setCar(Long car) {
		this.car = car;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Long getCreateperson() {
		return createperson;
	}

	public void setCreateperson(Long createperson) {
		this.createperson = createperson;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Long getUpdateperson() {
		return updateperson;
	}

	public void setUpdateperson(Long updateperson) {
		this.updateperson = updateperson;
	}

	public Date getUpdatedate() {
		return updatedate;
	}

	public void setUpdatedate(Date updatedate) {
		this.updatedate = updatedate;
	}
}
